html,
body {
  width: 100%;
  height: 100%;
}
// 轮播图
.swiper {
  width: 100%;
  height: 95px;
  background-color: black;
}

main {
  flex-direction: column;
  background-color: #e8e8e8;
  div {
    // width: 100%;
    background-color: #fff;
    margin-bottom: 20px;
  }
  .myself {
    height: 208px;
    padding: 20px;
    box-sizing: border-box;
    div {
      margin: 0px;
      .pic-head {
        width: 118px;
        height: 120px;
        #avatarPic {
          width: 118px;
          height: 120px;
          overflow: hidden;
          background-color: #e6e6e6;
          border-radius: 50%;
        }
      }
      h2 {
        margin-left: 10px;
      }
    }
    p {
      color: #8a9099;
      margin-top: 20px;
      margin-left: 6px;
    }
  }
  //   打卡
  .clock-in {
    height: 80px;
    padding-top: 26px;
    padding-left: 20px;
    box-sizing: border-box;
    p {
      height: 40px;
      width: 166px;
      margin-left: 6px;
      span {
        color: #2d8dfd;
        font-weight: bold;
      }
    }
    .clock-pic {
      width: 26px;
      height: 26px;
      background: url(../../assets/imgs/index-card-sum.png) no-repeat center
        #2d8dfd;
      background-size: cover;
    }
    .clock-day {
      width: 100px;
      height: 40px;
      line-height: 40px;
      text-align: center;
      font-weight: bold;
      background-color: #aad9f7;
      color: #004e73;
      border-radius: 20px;
      margin-left: 68px;
    }
  }
  //   动态
  .trends {
    height: 68px;
    padding-top: 26px;
    padding-left: 20px;
    box-sizing: border-box;
    .trends-pic {
      width: 26px;
      height: 26px;
      background: url(../../assets/imgs/index-card-sum.png) no-repeat center
        #2d8dfd;
      background-size: cover;
    }
    p {
      height: 40px;
      width: 166px;
      margin-left: 6px;
    }
    .trends-message {
      margin-left: 100px;
      line-height: 100%;
    }
    span {
      position: relative;
      bottom: 10px;
      line-height: 100%;
    }
  }
  //   运动数据
  .sports-data {
    padding-top: 26px;
    padding-left: 20px;
    .sports-top {
      height: 50px;
      margin-bottom: 0;
      .sports-pic {
        width: 26px;
        height: 26px;
        background: url(../../assets/imgs/index-card-sum.png) no-repeat center
          #2d8dfd;
        background-size: cover;
      }
      p {
        height: 40px;
        width: 166px;
        margin-left: 6px;
      }
      .sports-message {
        width: 20px;
        margin-left: 138px;
      }
    }
    .sports-body {
      .s-mini {
        color: #8a8a8a;
      }
      .s-big {
        color: #2d8dfd;
        font-size: 40px;
        margin-top: 14px;
        span {
          color: #000;
        }
      }
    }
  }
  .badge {
    height: 175px;
    padding-top: 26px;
    .badge-top {
      padding-left: 20px;
      height: 50px;
      margin-bottom: 0;
      .badge-pic {
        width: 26px;
        height: 26px;
        background: url(../../assets/imgs/index-card-sum.png) no-repeat center
          #2d8dfd;
        background-size: cover;
      }
      p {
        height: 40px;
        width: 166px;
        margin-left: 6px;
      }
      .badge-message {
        width: 20px;
        margin-left: 138px;
      }
    }
    .badge-body {
      div {
        img {
          width: 100px;
          height: 100px;
          border-radius: 50%;
          overflow: hidden;
        }
      }
    }
  }
  .out {
    height: 40px;
    text-align: center;
    line-height: 40px;
    margin-bottom: 98px;
    a {
      text-decoration: none;
    }
  }
}
.sp-left {
  border-right: 2px dashed #a1a9ac;
  width: 48%;
  margin-right: 20px;
}
.swiper-slide {
  background-size: cover;
}
// 隐藏滚动条
main::-webkit-scrollbar {
  width: 0;
  height: 0;
}
